﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;

namespace ERP.EquipmentManage.Dtos
{
    /// <summary>
    /// 设备维护计划DTO
    /// </summary>
    public class EquipmentMaintenancePlanDto : EntityDto<int>
    {
        /// <summary>
        /// 计划编码（唯一标识）
        /// </summary>
        public string PlanCode { get; set; }

        /// <summary>
        /// 计划名称
        /// </summary>
        public string PlanName { get; set; }

        /// <summary>
        /// 计划类型
        /// </summary>
        public string PlanType { get; set; }

        /// <summary>
        /// 执行频率数值
        /// </summary>
        public int Frequency { get; set; }

        /// <summary>
        /// 频率单位
        /// </summary>
        public string FrequencyUnit { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedAt { get; set; }

        /// <summary>
        /// 最后更新时间
        /// </summary>
        public DateTime UpdatedAt { get; set; }

        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }

        /// <summary>
        /// 状态文本（用于显示）
        /// </summary>
        public string StatusText { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        public string Remark { get; set; }
    }
}
